
public class StringSort {
	public static void main(String[]args){
		String numberStr ="20 89 98 23 -9";
		String[] strs=numberStr.split(" ");
		
		int[] numbers=new int[strs.length];
		for(int i=0;i<numbers.length;i++){
		
			numbers[i] =Integer.parseInt(strs[i]);
		}
		System.out.println();
		for(int i=0;i<numbers.length;i++){
			for(int j=0;j<numbers.length -i-1;j++){
				if(numbers[j]>numbers[j+1]){
					int temp =numbers[j];
					numbers[j]=numbers[j+i];
					numbers[j+i]=temp;
				}
			}
		}
		showArray(numbers);
	}

	private static void showArray(int[] numbers) {
		for(int i=0;i<numbers.length;i++){
			
		}
		
	}
}
